package com.fingard.dsp.bank.reqrespobj.elecbillquery;

import com.fingard.dsp.bank.reqrespobj.ReqRespHeader;
import com.fingard.dsp.bank.reqrespobj.RequestBase;
import com.fingard.xml.XmlTextReader;

/**
 * Created by dell on 2017/10/31.
 */
public class ReqB002BillTransQry extends RequestBase {
    public String bankCode;
    public String transType;
    public String transSeqID;
    public String transTime;
    public String actNum;
    public String busiType;
    public String queryType;
    public String busiNo;
    public String billNo;

    private XmlTextReader xmlReader;

    public ReqB002BillTransQry(XmlTextReader p_xmlReader, ReqRespHeader p_header) throws Exception {
        reqHeader = p_header;
        xmlReader = p_xmlReader;
        bankCode = xmlReader.getSimpleText("BankCode");
        transType = xmlReader.getSimpleText("TransType");
        transSeqID = xmlReader.getSimpleText("TransSeqID");
        transTime = xmlReader.getSimpleText("TransTime");
        actNum = xmlReader.getSimpleText("ActNum");
        busiType = xmlReader.getSimpleText("BusiType");
        queryType = xmlReader.getSimpleText("QueryType");
        busiNo = xmlReader.getSimpleText("BusiNo");
        billNo = xmlReader.getSimpleText("BillNo");
    }
}
